package com.yc.jpyy.profession.dao;

import java.util.List;
import java.util.Map;

import org.springframework.dao.DataAccessException;

import com.yc.jpyy.base.dao.BaseDao;
public interface ProfessionDao extends BaseDao {
	
	int addProfession(Map<String, Object> paramsMap)throws DataAccessException;	
	
	List<Map<String,Object>> selectProfession(Map<String, Object> paramsMap)throws DataAccessException;
 
    List<Map<String,Object>> selectProfessionByPages(Map<String, Object> paramsMap)throws DataAccessException;	
    
    int selectProfessionCount(Map<String, Object> paramsMap)throws DataAccessException;	
       
    int selectRelation(Map<String, Object> paramsMap)throws DataAccessException;
    
    int delProfession(Map<String, Object> paramsMap)throws DataAccessException;
    
    int updateProfession(Map<String, Object> paramsMap)throws DataAccessException;
    
    List<Map<String,Object>> getProfessionInfo(Map<String, Object> paramsMap)throws DataAccessException;	
    
    List<Map<String,Object>> getProfessionSubject(Map<String, Object> paramsMap)throws DataAccessException;	
    
    int IsOnProfessionNameDao(Map<String, Object> paramsMap)throws DataAccessException;	
    
    
    int IsOnSubjectNameDao(Map<String, Object> paramsMap)throws DataAccessException;	
    
}

